package com.ziyun.erp.common.e.order;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * @author gaosheng
 * @Description: 支付类型
 */
public enum PayObjectEnum implements BaseEnum{

    ORDER("order", "订单支付"),
    RECHARGE("recharge", "充值"),
    JOINFEE("joinfee", ""),
    PREPAID_RECHARGE("prepaid_recharge", ""),
    ORDER_FOREGIFT("order_foregift", "门店月结"),
    ;

    private String code;
    private String describe;

    PayObjectEnum(String code, String describe){
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
